package com.megalith.entities;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Description TODO
 * @Author lfp
 * @Date 2021/6/23 18:03
 * @Version 1.0
 */
@Data
@Accessors(chain = true)
public class User implements Serializable {
    /**
    * 编号
    */
    private String id;

    /**
     * 姓名
     */
    @Excel(name = "姓名", height = 10, width = 30)
    private String name;

    /**
     * 昵称
     */
    @Excel(name = "昵称", height = 10, width = 30)
    private String nickName;

    /**
     * 性别
     */
    @Excel(name = "昵称", replace = { "男_1", "女_2" }, suffix = "生", height = 10, width = 30)
    private int sex;
}
